package com.bbs.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  linmengmeng
 * @Date 2020-11-09 11:33:12 
 */

@Entity
@Table ( name ="article_info" , schema = "")
public class ArticleInfo  implements Serializable {

	private static final long serialVersionUID =  571775158003073401L;

   	@Column(name = "article_id" )
	private Long articleId;

   	@Column(name = "user_id" )
	private String userId;

   	@Column(name = "article_title" )
	private String articleTitle;

   	@Column(name = "article_content" )
	private String articleContent;

   	@Column(name = "article_create_time" )
	private Date articleCreateTime;

   	@Column(name = "article_tag_id" )
	private Long articleTagId;

   	@Column(name = "article_commecnts_person" )
	private Long articleCommecntsPerson;

   	@Column(name = "article_visitors" )
	private Long articleVisitors;

	public Long getArticleId() {
		return this.articleId;
	}

	public void setArticleId(Long articleId) {
		this.articleId = articleId;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getArticleTitle() {
		return this.articleTitle;
	}

	public void setArticleTitle(String articleTitle) {
		this.articleTitle = articleTitle;
	}

	public String getArticleContent() {
		return this.articleContent;
	}

	public void setArticleContent(String articleContent) {
		this.articleContent = articleContent;
	}

	public Date getArticleCreateTime() {
		return this.articleCreateTime;
	}

	public void setArticleCreateTime(Date articleCreateTime) {
		this.articleCreateTime = articleCreateTime;
	}

	public Long getArticleTagId() {
		return this.articleTagId;
	}

	public void setArticleTagId(Long articleTagId) {
		this.articleTagId = articleTagId;
	}

	public Long getArticleCommecntsPerson() {
		return this.articleCommecntsPerson;
	}

	public void setArticleCommecntsPerson(Long articleCommecntsPerson) {
		this.articleCommecntsPerson = articleCommecntsPerson;
	}

	public Long getArticleVisitors() {
		return this.articleVisitors;
	}

	public void setArticleVisitors(Long articleVisitors) {
		this.articleVisitors = articleVisitors;
	}

	@Override
	public String toString() {
		return "{" +
					"articleId='" + articleId + '\'' +
					"userId='" + userId + '\'' +
					"articleTitle='" + articleTitle + '\'' +
					"articleContent='" + articleContent + '\'' +
					"articleCreateTime='" + articleCreateTime + '\'' +
					"articleTagId='" + articleTagId + '\'' +
					"articleCommecntsPerson='" + articleCommecntsPerson + '\'' +
					"articleVisitors='" + articleVisitors + '\'' +
				'}';
	}

}
